package com.huabo.system.service;

import com.huabo.system.mysql.entity.TblBiReportMenuMySql;
import com.huabo.system.oracle.entity.TblBiReportMenu;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface TblBiReportMenuService {
    TblBiReportMenu geTblBiReportMenu(String id);

    TblBiReportMenuMySql geMySqlTblBiReportMenu(String id);

    Object isExistBiPageCode(String code);

    void updateReportMenu(TblBiReportMenu page);

    void updateMySqlReportMenu(TblBiReportMenuMySql page);

    void saveReportMenu(TblBiReportMenu tbrm);

    void saveMySqlReportMenu(TblBiReportMenuMySql tbrm);

//    List<TblBiReportMenu> findByFatherid(String pid);

    void deleteReportMenu(TblBiReportMenu geTblBiReportMenu);

    void deleteMySqlReportMenu(TblBiReportMenuMySql geTblBiReportMenu);

    TblBiReportMenu selectTblBiReportMenu(String idStr);

    TblBiReportMenuMySql selectMySqlTblBiReportMenu(String idStr);

    void addPage(TblBiReportMenu page);

    void addMySqlPage(TblBiReportMenuMySql page);

    List<TblBiReportMenu> selectByFatherid(String idStr);

    List<TblBiReportMenuMySql> selectByMySqlFatherid(String idStr);

    Map<String, Object> finreportMenuList(Integer pageNumber, Integer pageSize, String token, String staffId,String type);

    TblBiReportMenu geTblBiReport(BigDecimal pageid);

    TblBiReportMenuMySql geMySqlTblBiReport(BigDecimal pageid);

    void deleteReportMenuPageId(BigDecimal pageid);
}
